package com.groupbuying.customer.dao;

import java.util.List;
import java.util.Map;

import com.groupbuying.customer.domain.CustomerAccountDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 会员虚拟账户
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-09-05 17:22:50
 * @des
 */

@Mapper
@Repository
public interface CustomerAccountDao {

	CustomerAccountDO get(String uuid);
	
	List<CustomerAccountDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CustomerAccountDO customerAccount);
	
	int update(CustomerAccountDO customerAccount);
	
	int remove(String uuid);
	
	int batchRemove(String[] uuids);
}
